@echo build trunk...
@echo off
call mvn package
pause

set source_lib=%cd%\target\lib
set main_lib=%cd%\target\mgame-0.0.1-SNAPSHOT.jar
set cfg_path=%cd%\src\main\resources

cd ../../../Version_Release/server
set target_lib=%cd%\mgame-0.0.1-SNAPSHOT\lib\
set target_cfg=%cd%\mgame-0.0.1-SNAPSHOT\conf\
@echo copy file
xcopy /y %source_lib%\*.* %target_lib%
xcopy /y %main_lib% %target_lib%
xcopy /y /E %cfg_path%\* %target_cfg%


pause